package com.dh.blog.vo;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.springframework.aop.framework.ProxyFactory;

import com.ewei.web.common.validator.CascadeGroup;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;



/**
 * 博客vo
 * @author David
 *
 */
@JsonInclude(Include.NON_EMPTY)
public class BlogVo implements Serializable{
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -5868569635792932972L;
	@NotNull(message="{blog.id.not.null}",groups={CascadeGroup.class})
	private String id;
	/**
	 * path路径
	 */
	private String path;
	/**
	 * 对应系统用户
	 */
	private UserVo user;
	public BlogVo(){
		
	}
	public BlogVo(String path){
		this.path = path;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public UserVo getUser() {
		return user;
	}
	public void setUser(UserVo user) {
		this.user = user;
	}
	
	
}
